import Document from '../../common/Document'
import Layout from '../../layout'
import Entries from '../CommonTpl/Entries'
import ResumeHeader from './ResumeHeader'
import ItemWraper from './components/ItemWraper'
import Title from './components/Title'

function Com(props) {
  return <ItemWraper>
    <Title {...props}/>
    <Entries {...props} initMarginH={6}></Entries>
    {/* <CommonTpl {...props} Title={Title}></CommonTpl> */}
  </ItemWraper>
}
function Tpl1() {
  return (
    <Document >
      <Layout
        resumeHeader={<ResumeHeader initMarginH={6}/>}
        education={ <Com name='education'></Com>}
        work={<Com name='work' />}
        project={<Com name='project' />}
        certificate={<Com name='certificate' />}
        school={<Com name='school' />}
        skills={<Com name='skills' />}
        internship={<Com name='internship' />}
        selfevaluation={<Com name='selfevaluation' />}
        custom={<Com name='custom' />}
        hobby={<Com name='hobby' />}
      />
    </Document>
  )
}

export default Tpl1
